<template>
   <el-main>
    <div class="container">
        <AnimateItem :page="page" :url="'/api/work/hot'"/>
    </div>
  </el-main>
</template>

<script>
import AnimateItem from '~/components/AnimateItem.vue';

export default {
    data(){
        return {
            array:null,
        }
    },
    components:{
        AnimateItem,
    },
    async asyncData({$axios,isDev, route, store, env, params, query, req, res, redirect, error}) {
        let {status,data} = await $axios.get("/api/work/hot"); 
        return {page:data};

    },


}
</script>

<style>

</style>